/**
 * 
 */
package bingo.validation.annotations;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.annotation.ElementType;

import bingo.validation.validator.LengthValidator;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD,ElementType.TYPE})
@Check(validator=LengthValidator.class)
public @interface Length {

	String name() default "";
	
	String message() default "";
	
	int min() default 0;
	
	int max() default Short.MAX_VALUE;
	
}
